.class Lcom/nemustech/tiffany/world/TFEffect$14;
.super Ljava/lang/Object;
.source "TFEffect.java"

# interfaces
.implements Lcom/nemustech/tiffany/world/TFWorld$OnEffectFinishListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/nemustech/tiffany/world/TFEffect;->showEffectVerticalPageOver(Z)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/nemustech/tiffany/world/TFEffect;

.field final synthetic val$current_up_panel:Lcom/nemustech/tiffany/world/TFPanel;

.field final synthetic val$horizontalAxis:Lcom/nemustech/tiffany/world/TFHorizontalAxisHolder;

.field final synthetic val$next_down_panel:Lcom/nemustech/tiffany/world/TFPanel;

.field final synthetic val$rotate_panel:Lcom/nemustech/tiffany/world/TFPanel;


# direct methods
.method constructor <init>(Lcom/nemustech/tiffany/world/TFEffect;Lcom/nemustech/tiffany/world/TFPanel;Lcom/nemustech/tiffany/world/TFPanel;Lcom/nemustech/tiffany/world/TFPanel;Lcom/nemustech/tiffany/world/TFHorizontalAxisHolder;)V
    .locals 0
    .parameter
    .parameter
    .parameter
    .parameter
    .parameter

    .prologue
    .line 1544
    iput-object p1, p0, Lcom/nemustech/tiffany/world/TFEffect$14;->this$0:Lcom/nemustech/tiffany/world/TFEffect;

    iput-object p2, p0, Lcom/nemustech/tiffany/world/TFEffect$14;->val$rotate_panel:Lcom/nemustech/tiffany/world/TFPanel;

    iput-object p3, p0, Lcom/nemustech/tiffany/world/TFEffect$14;->val$current_up_panel:Lcom/nemustech/tiffany/world/TFPanel;

    iput-object p4, p0, Lcom/nemustech/tiffany/world/TFEffect$14;->val$next_down_panel:Lcom/nemustech/tiffany/world/TFPanel;

    iput-object p5, p0, Lcom/nemustech/tiffany/world/TFEffect$14;->val$horizontalAxis:Lcom/nemustech/tiffany/world/TFHorizontalAxisHolder;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onEffectFinish(Lcom/nemustech/tiffany/world/TFObject;)V
    .locals 11
    .parameter "object"

    .prologue
    const/4 v10, 0x2

    const/4 v9, 0x1

    const/high16 v8, 0x4170

    const/high16 v7, 0x4120

    const/4 v6, 0x0

    .line 1546
    const/4 v4, 0x3

    new-array v0, v4, [Lcom/nemustech/tiffany/world/TFModel;

    .line 1547
    .local v0, modelsToDelete:[Lcom/nemustech/tiffany/world/TFModel;
    const/4 v4, 0x0

    iget-object v5, p0, Lcom/nemustech/tiffany/world/TFEffect$14;->val$rotate_panel:Lcom/nemustech/tiffany/world/TFPanel;

    aput-object v5, v0, v4

    .line 1548
    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFEffect$14;->val$current_up_panel:Lcom/nemustech/tiffany/world/TFPanel;

    aput-object v4, v0, v9

    .line 1549
    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFEffect$14;->val$next_down_panel:Lcom/nemustech/tiffany/world/TFPanel;

    aput-object v4, v0, v10

    .line 1551
    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFEffect$14;->this$0:Lcom/nemustech/tiffany/world/TFEffect;

    invoke-static {v4}, Lcom/nemustech/tiffany/world/TFEffect;->access$1800(Lcom/nemustech/tiffany/world/TFEffect;)Z

    move-result v4

    if-eqz v4, :cond_1

    .line 1552
    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFEffect$14;->this$0:Lcom/nemustech/tiffany/world/TFEffect;

    invoke-static {v4}, Lcom/nemustech/tiffany/world/TFEffect;->access$2300(Lcom/nemustech/tiffany/world/TFEffect;)Z

    move-result v4

    if-nez v4, :cond_0

    .line 1553
    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFEffect$14;->this$0:Lcom/nemustech/tiffany/world/TFEffect;

    invoke-static {v4}, Lcom/nemustech/tiffany/world/TFEffect;->access$1200(Lcom/nemustech/tiffany/world/TFEffect;)Landroid/os/Handler;

    move-result-object v4

    new-instance v5, Lcom/nemustech/tiffany/world/TFEffect$14$1;

    invoke-direct {v5, p0}, Lcom/nemustech/tiffany/world/TFEffect$14$1;-><init>(Lcom/nemustech/tiffany/world/TFEffect$14;)V

    invoke-virtual {v4, v5}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z

    .line 1560
    :cond_0
    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFEffect$14;->this$0:Lcom/nemustech/tiffany/world/TFEffect;

    invoke-static {v4, v0}, Lcom/nemustech/tiffany/world/TFEffect;->access$2200(Lcom/nemustech/tiffany/world/TFEffect;[Lcom/nemustech/tiffany/world/TFModel;)V

    .line 1610
    :goto_0
    return-void

    .line 1563
    :cond_1
    const-wide/16 v2, 0x50

    .line 1564
    .local v2, reboundDuration:J
    const/high16 v1, 0x41a0

    .line 1565
    .local v1, reboundAngle:F
    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFEffect$14;->this$0:Lcom/nemustech/tiffany/world/TFEffect;

    invoke-static {v4}, Lcom/nemustech/tiffany/world/TFEffect;->access$2100(Lcom/nemustech/tiffany/world/TFEffect;)I

    move-result v4

    if-nez v4, :cond_2

    .line 1566
    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFEffect$14;->val$horizontalAxis:Lcom/nemustech/tiffany/world/TFHorizontalAxisHolder;

    neg-float v5, v1

    invoke-virtual {v4, v6, v5, v2, v3}, Lcom/nemustech/tiffany/world/TFHorizontalAxisHolder;->rotate(FFJ)V

    .line 1570
    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFEffect$14;->this$0:Lcom/nemustech/tiffany/world/TFEffect;

    invoke-static {v4}, Lcom/nemustech/tiffany/world/TFEffect;->access$2108(Lcom/nemustech/tiffany/world/TFEffect;)I

    goto :goto_0

    .line 1571
    :cond_2
    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFEffect$14;->this$0:Lcom/nemustech/tiffany/world/TFEffect;

    invoke-static {v4}, Lcom/nemustech/tiffany/world/TFEffect;->access$2100(Lcom/nemustech/tiffany/world/TFEffect;)I

    move-result v4

    if-ne v4, v9, :cond_3

    .line 1572
    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFEffect$14;->val$horizontalAxis:Lcom/nemustech/tiffany/world/TFHorizontalAxisHolder;

    invoke-virtual {v4, v6, v1, v2, v3}, Lcom/nemustech/tiffany/world/TFHorizontalAxisHolder;->rotate(FFJ)V

    .line 1576
    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFEffect$14;->this$0:Lcom/nemustech/tiffany/world/TFEffect;

    invoke-static {v4}, Lcom/nemustech/tiffany/world/TFEffect;->access$2108(Lcom/nemustech/tiffany/world/TFEffect;)I

    goto :goto_0

    .line 1577
    :cond_3
    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFEffect$14;->this$0:Lcom/nemustech/tiffany/world/TFEffect;

    invoke-static {v4}, Lcom/nemustech/tiffany/world/TFEffect;->access$2100(Lcom/nemustech/tiffany/world/TFEffect;)I

    move-result v4

    if-ne v4, v10, :cond_4

    .line 1578
    sub-float/2addr v1, v7

    .line 1579
    const-wide/16 v4, 0x14

    sub-long/2addr v2, v4

    .line 1580
    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFEffect$14;->val$horizontalAxis:Lcom/nemustech/tiffany/world/TFHorizontalAxisHolder;

    neg-float v5, v1

    invoke-virtual {v4, v6, v5, v2, v3}, Lcom/nemustech/tiffany/world/TFHorizontalAxisHolder;->rotate(FFJ)V

    .line 1581
    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFEffect$14;->this$0:Lcom/nemustech/tiffany/world/TFEffect;

    invoke-static {v4}, Lcom/nemustech/tiffany/world/TFEffect;->access$2108(Lcom/nemustech/tiffany/world/TFEffect;)I

    goto :goto_0

    .line 1582
    :cond_4
    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFEffect$14;->this$0:Lcom/nemustech/tiffany/world/TFEffect;

    invoke-static {v4}, Lcom/nemustech/tiffany/world/TFEffect;->access$2100(Lcom/nemustech/tiffany/world/TFEffect;)I

    move-result v4

    const/4 v5, 0x3

    if-ne v4, v5, :cond_5

    .line 1583
    sub-float/2addr v1, v7

    .line 1584
    const-wide/16 v4, 0x14

    sub-long/2addr v2, v4

    .line 1585
    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFEffect$14;->val$horizontalAxis:Lcom/nemustech/tiffany/world/TFHorizontalAxisHolder;

    invoke-virtual {v4, v6, v1, v2, v3}, Lcom/nemustech/tiffany/world/TFHorizontalAxisHolder;->rotate(FFJ)V

    .line 1586
    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFEffect$14;->this$0:Lcom/nemustech/tiffany/world/TFEffect;

    invoke-static {v4}, Lcom/nemustech/tiffany/world/TFEffect;->access$2108(Lcom/nemustech/tiffany/world/TFEffect;)I

    goto :goto_0

    .line 1587
    :cond_5
    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFEffect$14;->this$0:Lcom/nemustech/tiffany/world/TFEffect;

    invoke-static {v4}, Lcom/nemustech/tiffany/world/TFEffect;->access$2100(Lcom/nemustech/tiffany/world/TFEffect;)I

    move-result v4

    const/4 v5, 0x4

    if-ne v4, v5, :cond_6

    .line 1588
    sub-float/2addr v1, v8

    .line 1589
    const-wide/16 v4, 0x28

    sub-long/2addr v2, v4

    .line 1590
    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFEffect$14;->val$horizontalAxis:Lcom/nemustech/tiffany/world/TFHorizontalAxisHolder;

    neg-float v5, v1

    invoke-virtual {v4, v6, v5, v2, v3}, Lcom/nemustech/tiffany/world/TFHorizontalAxisHolder;->rotate(FFJ)V

    .line 1591
    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFEffect$14;->this$0:Lcom/nemustech/tiffany/world/TFEffect;

    invoke-static {v4}, Lcom/nemustech/tiffany/world/TFEffect;->access$2108(Lcom/nemustech/tiffany/world/TFEffect;)I

    goto :goto_0

    .line 1592
    :cond_6
    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFEffect$14;->this$0:Lcom/nemustech/tiffany/world/TFEffect;

    invoke-static {v4}, Lcom/nemustech/tiffany/world/TFEffect;->access$2100(Lcom/nemustech/tiffany/world/TFEffect;)I

    move-result v4

    const/4 v5, 0x5

    if-ne v4, v5, :cond_7

    .line 1593
    sub-float/2addr v1, v8

    .line 1594
    const-wide/16 v4, 0x28

    sub-long/2addr v2, v4

    .line 1595
    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFEffect$14;->val$horizontalAxis:Lcom/nemustech/tiffany/world/TFHorizontalAxisHolder;

    invoke-virtual {v4, v6, v1, v2, v3}, Lcom/nemustech/tiffany/world/TFHorizontalAxisHolder;->rotate(FFJ)V

    .line 1596
    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFEffect$14;->this$0:Lcom/nemustech/tiffany/world/TFEffect;

    invoke-static {v4}, Lcom/nemustech/tiffany/world/TFEffect;->access$2108(Lcom/nemustech/tiffany/world/TFEffect;)I

    goto/16 :goto_0

    .line 1598
    :cond_7
    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFEffect$14;->this$0:Lcom/nemustech/tiffany/world/TFEffect;

    invoke-static {v4}, Lcom/nemustech/tiffany/world/TFEffect;->access$2300(Lcom/nemustech/tiffany/world/TFEffect;)Z

    move-result v4

    if-nez v4, :cond_8

    .line 1599
    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFEffect$14;->this$0:Lcom/nemustech/tiffany/world/TFEffect;

    invoke-static {v4}, Lcom/nemustech/tiffany/world/TFEffect;->access$1200(Lcom/nemustech/tiffany/world/TFEffect;)Landroid/os/Handler;

    move-result-object v4

    new-instance v5, Lcom/nemustech/tiffany/world/TFEffect$14$2;

    invoke-direct {v5, p0}, Lcom/nemustech/tiffany/world/TFEffect$14$2;-><init>(Lcom/nemustech/tiffany/world/TFEffect$14;)V

    invoke-virtual {v4, v5}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z

    .line 1607
    :cond_8
    iget-object v4, p0, Lcom/nemustech/tiffany/world/TFEffect$14;->this$0:Lcom/nemustech/tiffany/world/TFEffect;

    invoke-static {v4, v0}, Lcom/nemustech/tiffany/world/TFEffect;->access$2200(Lcom/nemustech/tiffany/world/TFEffect;[Lcom/nemustech/tiffany/world/TFModel;)V

    goto/16 :goto_0
.end method
